package com.enqualcomm.kids.network.socket.response;

import android.text.TextUtils;

/**
 * Created by Yinzhiqun on 2016/8/15.
 */
public class GetProductUrlResult extends BasicResult {

    private Result result;

    public static class Result{
        String producturl;
    }

    public String getUrl(){
        if (!TextUtils.isEmpty(result.producturl)){
            String[] split = result.producturl.split(",");
            return split[0];
        }
        return null;
    }
}
